package com.en.effectiveJava.chapter2.staticFactory1;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;

/**
 * {@link HashMapUtil} 的测试类
 * Create by EN
 * On 23/05/18 1:32 PM
*/
public class HashMapUtilTest {

    public static void main(String[] args) {
        HashMap<String, List<String>> hashMap = HashMapUtil.newInstance();

        hashMap.put("test", Arrays.asList("abc", "dft"));

        System.out.printf("%s\n",hashMap.get("test").get(0));
    }

}
